package com.tedu.dao.mapper;

import com.tedu.pojo.entity.Comment;
import com.tedu.pojo.param.CommentParam;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface CommentMapper {

    int addComment(Comment comment);
    int deleteComment(Integer id);
    int UpdateComment(Comment comment );
    List<Comment>selectAllComment();
    CommentParam selectOne(Integer id);
}
